package com.example.reader.service;

import com.example.reader.entity.PostsSection;
import com.example.reader.mapper.PostsSectionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PostsSectionService {
    @Autowired
    private PostsSectionMapper postsSectionMapper;
    public List<PostsSection> selectAll(PostsSection postsSection) {
        return postsSectionMapper.selectAll(postsSection);
    }
}
